package com.jwater.core.net;

import com.jwater.core.annotation.JwaterRpcService;

@JwaterRpcService(superClazz = HelloService.class)
public class HelloServiceImpl implements HelloService {

	@Override
	public String sayHello(String name) {
		return "sayHello," + name;
	}

	@Override
	public String sayHello(String name, int age) {
		try {
			Thread.sleep(3000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return "sayHello," + name + "," + age;
	}

}
